var express = require('express');
var router = express.Router();

model = require('../models/model');

/* GET users listing. */
router.get('/', function(req, res, next) {
  model.User.find(function(err,doc) {
    res.render('users',{docs:doc});
  });
});

module.exports = router;
